﻿namespace WizardEngine.Core.Specification
{
    /// <summary>
    /// Conditions on transitions delegate.
    /// </summary>
    /// <typeparam name="T">Specific custom flow state type. </typeparam>
    /// <param name="state">Flow instance state. </param>
    /// <returns>Condition evaluation result. </returns>
    public delegate bool TransitionCondition<T>(T state) where T : FlowState;
}
